package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectBrief;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface BriefSubjectConvert {
    BriefSubjectConvert INSTABCE =  Mappers.getMapper(BriefSubjectConvert.class);
    SubjectBrief convertBoToEntity(SubjectAnswerBO subjectAnswerBO);
    SubjectBrief convertBoToEntity(SubjectInfoBO subjectInfoBO);


}
